import { CHART_COLORS } from './color'

export const heatBaseOptions = {
  tooltip: {},
  xAxis: {
    type: 'category',
    splitArea: { show: true },
  },
  yAxis: {
    type: 'category',
    splitArea: { show: true },
  },
  visualMap: {
    // min: 0,
    // max: 4,
    // calculable: true,
    // realtime: false,
    // show: false,
    inRange: {
      color: CHART_COLORS,
    },
  },
  series: [
    {
      name: 'Gaussian',
      type: 'heatmap',
      data: [],
      emphasis: {
        itemStyle: {
          borderColor: '#fff',
          borderWidth: 2,
          shadowBlur: 15,
          shadowColor: '#333',
        },
      },
      progressive: 1000,
      animation: false,
    },
  ],
}
